namespace OnePiece.Ui.Controls
{
    public enum ColumnAlignmentEnum
    {
        Left,
        Center,
        Right

    }

    /// <summary>
    /// Message Box Type.
    /// </summary>
    public class  ColumnModel
    {
        public ColumnModel()
        {
            IsSortable = true;
            IsVisible = true;
            Alignment = ColumnAlignmentEnum.Left;
        }

        public string Name { get; set; }
        public string Label { get; set; }
        public string Index { get; set; }
        public int Width { get; set; }
        public ColumnAlignmentEnum Alignment { get; set; }
        public bool IsSortable { get; set; }
        public bool IsVisible { get; set; }
    }
}